#ifndef EVENTS_H_
#define EVENTS_H_
#include<string>
#include <vector>
#include "Poco/DateTime.h"
#include "Poco/DateTimeParser.h"
using namespace Poco;


class DateList;
class Event;
class EnergysEventsList;


using namespace std;

class Events
{
	private:
		vector<EnergysEventsList*> events;
		DateList* reports;
	public:
		Events();
		~Events();
		void clear();
		void addEvent(Event* event);
		Event getBuyingEvent(string name,DateTime date);
		Event getSellingEvent(string name,DateTime date);
		Event getConsumingEvent(string name,DateTime date);
		Event getCreatingEvent(string name,DateTime date);
		Event getReportingEvent(DateTime date);
		DateTime getCorrentDay();
		void print();
		bool noMoreEvents();
};


#endif /*EVENTS_H_*/
